package com.jsong.linuo.abstracttest;

/**
 * @Author: 黎诺
 * @CreateTime: 2025-04-23
 * @Description: 硬件维护
 */

public class Hardware extends Maintainer {
    public Hardware() {
    }

    public Hardware(int id, String name) {
        super(id, name);
    }

    @Override
    public void work() {
        System.out.println("员工号为" + this.getId() + "的" + this.getName() + "正在修复电脑主板");
    }
}
